import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server: {
    port: 8080, //端口号
    open: true //启动后是否自动打开浏览器
  },
  css:{
	  preprocessorOptions:{
		  scss:{
			  additionalData: `
        @import "./src/assets/scss/variable.scss";
        @import "./src/assets/scss/mixin.scss";
      `
		  }
	  }
  },
})
